package eval.cm.xml.parser.simple.parser;

/**
 * Defines a contract for a {@link Parser} factory.
 * @author constantin
 *
 */
public interface ParserFactory {
	
	/**
	 * Produces an instance of {@link Parser} given the implementation class
	 * @param parserClass A zero constructor implementation is assumed
	 * @return An instance of {@link Parser}
	 */
	Parser buildParser(Class<? extends Parser> parserClass);

}
